Optimal. Leaf size=37 \[ \frac {\tan (a+b x)}{b}-\frac {\cot ^3(a+b x)}{3 b}-\frac {2 \cot (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2620, 270} \[ \frac {\tan (a+b x)}{b}-\frac {\cot ^3(a+b x)}{3 b}-\frac {2 \cot (a+b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rule 2620
Rubi steps
\begin {align*} \int \csc ^4(a+b x) \sec ^2(a+b x) \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (1+x^2\right )^2}{x^4} \, dx,x,\tan (a+b x)\right )}{b}\\ &=\frac {\operatorname {Subst}\left (\int \left (1+\frac {1}{x^4}+\frac {2}{x^2}\right ) \, dx,x,\tan (a+b x)\right )}{b}\\ &=-\frac {2 \cot (a+b x)}{b}-\frac {\cot ^3(a+b x)}{3 b}+\frac {\tan (a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 45, normalized size = 1.22 \[ \frac {\tan (a+b x)}{b}-\frac {5 \cot (a+b x)}{3 b}-\frac {\cot (a+b x) \csc ^2(a+b x)}{3 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 54, normalized size = 1.46 \[ -\frac {8 \, \cos \left (b x + a\right )^{4} - 12 \, \cos \left (b x + a\right )^{2} + 3}{3 \, {\left (b \cos \left (b x + a\right )^{3} - b \cos \left (b x + a\right )\right )} \sin \left (b x + a\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 35, normalized size = 0.95 \[ -\frac {\frac {6 \, \tan \left (b x + a\right )^{2} + 1}{\tan \left (b x + a\right )^{3}} - 3 \, \tan \left (b x + a\right )}{3 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 50, normalized size = 1.35 \[ \frac {-\frac {1}{3 \sin \left (b x +a \right )^{3} \cos \left (b x +a \right )}+\frac {4}{3 \sin \left (b x +a \right ) \cos \left (b x +a \right )}-\frac {8 \cot \left (b x +a \right )}{3}}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.53, size = 35, normalized size = 0.95 \[ -\frac {\frac {6 \, \tan \left (b x + a\right )^{2} + 1}{\tan \left (b x + a\right )^{3}} - 3 \, \tan \left (b x + a\right )}{3 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.42, size = 36, normalized size = 0.97 \[ \frac {\mathrm {tan}\left (a+b\,x\right )}{b}-\frac {2\,{\mathrm {tan}\left (a+b\,x\right )}^2+\frac {1}{3}}{b\,{\mathrm {tan}\left (a+b\,x\right )}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec ^{2}{\left (a + b x \right )}}{\sin ^{4}{\left (a + b x \right )}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________